package com.atguigu.product.products.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.product.products.vo.respVo.OrderToProductQuerySpuInfoVo;
import com.atguigu.product.products.vo.respVo.SpuSaveVo.SpuSaveReqVo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.atguigu.product.products.entity.PmsSpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author qhw
 * @email qhw@gmail.com
 * @date 2021-08-03 19:57:10
 */
public interface PmsSpuInfoService extends IService<PmsSpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(SpuSaveReqVo spuSaveReqVo);

    void up(Long spuId);

    OrderToProductQuerySpuInfoVo orderSpu(Long skuId);
}

